package cn.webrx;

public class Str2 {
    public static void main(String[] args) {
        int i = true ? 10 : 20;
        System.out.println(i);

        int age = 35;
        String g = age < 18 ? "未成年" : "成年";
        System.out.println(g);
    }
}
